//
//  TwoViewController.m
//  JuBao
//
//  Created by apple on 2017/8/23.
//  Copyright © 2017年 李肖飞. All rights reserved.
//

#import "TwoViewController.h"

@interface TwoViewController ()<UIWebViewDelegate>
@property (weak, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation TwoViewController

-(void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    _webView.backgroundColor = [UIColor whiteColor];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://resource.tiankonglianmeng.com:7088/resource/jubao-about/faqs.html"]];
    _webView.scalesPageToFit = YES;
    [self.view addSubview: _webView];
    [_webView loadRequest:request];
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"须知";
    
    
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
